
    public class HelloWorld {
        public static void main(String[] args) {
            double a=12.5;
            System.out.printf("%.2f",a); //保留两位小数
            System.out.println("\n");
            System.out.println(a);

        }
        public static void main4(String[] args) {
            short a=10;
            System.out.println(a);
            System.out.println(Short.MAX_VALUE);
            System.out.println(Short.MIN_VALUE);
        }
        public static void main3(String[] args) {
            long a=10L;
            System.out.println(Long.MIN_VALUE);
            System.out.println(Long.MAX_VALUE);
        }
        public static void main2(String[] args) {
            int a=10;
            System.out.println(a);
            System.out.println(Integer.MAX_VALUE);
            System.out.println(Integer.MIN_VALUE);
        }
        public static void main1(String[] args) {
            System.out.println("helloworld");
        }
    }

